home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 2.4 KB | 82 lines | [TEXT/MPS ] |
- /*
- File: DBDMA.idl
-
- Contains: Descriptor Based DMA Interfaces
-
- Version: Technology: System 7.5
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __DBDMA_IDL__
- #define __DBDMA_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __CONDITIONALMACROS_IDL__
- #include <ConditionalMacros.idl>
- #endif
- #ifndef __PCI_IDL__
- #include <PCI.idl>
- #endif
- #if FOR_SYSTEM8_PREEMPTIVE
- #ifndef __CODEFRAGMENTS_IDL__
- #include <CodeFragments.idl>
- #endif
- #ifndef __DRIVERSERVICES_IDL__
- #include <DriverServices.idl>
- #endif
- #endif
-
- #ifdef __SOMIDL__
-
- #if FOR_SYSTEM7_AND_SYSTEM8_PREEMPTIVE
- /* This structure defines the standard set of DB-DMA channel registers.*/
- typedef SOMLargeStruct DBDMAChannelRegisters; /* Derived from a struct of 256 bytes in size */
-
- /* These constants define the DB-DMA channel control words and status flags.*/
- /*
- This structure defines the DB-DMA channel command descriptor.
- *** WARNING: Endian-ness issues must be considered when performing load/store! ***
- *** DB-DMA specifies memory organization as quadlets so it is not correct
- *** to think of either the operation or result field as two 16-bit fields.
- *** This would have undesirable effects on the byte ordering within their
- *** respective quadlets. Use the accessor macros provided below.
- */
- typedef SOMLargeStruct DBDMADescriptor; /* Derived from a struct of 16 bytes in size */
-
- typedef OpaquePtr DBDMADescriptorPtr; /* Substituted OpaquePtr for “DBDMADescriptor*” */
-
- /* These constants define the DB-DMA channel command operations and modifiers.*/
- /* These constants define the DB-DMA channel command results.*/
- #if FOR_SYSTEM8_PREEMPTIVE
- typedef OpaquePtr DBDMAChannelConnectionPtr; /* Substituted OpaquePtr for “void*” */
-
- /*
- /////////////////////////////////////////////////////////////////////////////////
- Channel Connections
- */
- /*
- /////////////////////////////////////////////////////////////////////////////////
- Client Buffer Assignment
- */
- /*
- /////////////////////////////////////////////////////////////////////////////////
- Channel Control Operations
- */
- #endif
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __DBDMA_IDL__ */
-
-